﻿using ERPPublic;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WarehouseManagement.Domain.Entity
{
    /// <summary>
    /// 仓库出库申请表
    /// </summary>
    [SugarTable("OutboundRequest")]
    public class OutboundRequest: Audit
    {
        /// <summary>
        /// 仓库出库id
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int OutboundRequestId { get; set; }

        /// <summary>
        /// 人员档案id
        /// </summary>
        public int? ManpowerId { get; set; }
        /// <summary>
        /// 出库编号
        /// </summary>
        public string? OutboundNumber { get; set; }

        /// <summary>
        /// 申请人员
        /// </summary>
        public string? ORapplicationPeople { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        public string? ORapplicationDate { get; set; }

        /// <summary>
        /// 出库类别
        /// </summary>
        public string? OROutType { get; set; }

        /// <summary>
        /// 收货人
        /// </summary>
        public string? ORConsignee { get; set; }

        /// <summary>
        /// 手机号码
        /// </summary>
        public string? ORPhone { get; set; }

        /// <summary>
        /// 省id
        /// </summary>
        public int? ProvinceId { get; set; }

        /// <summary>
        /// 市id
        /// </summary>
        public int? CityId { get; set; }

        /// <summary>
        /// 详细地址
        /// 
        /// </summary>
        public string? ORAddress { get; set; }

        /// <summary>
        /// 总金额合计
        /// </summary>
        public decimal? ORTotalAmount { get; set; }

        /// <summary>
        /// 申请出库总数
        /// </summary>
        public int? OROutNum { get; set; }
        public int? ORIsState { get; set; }



    }
}
